<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
    <title>西京文交所管理端</title>
    <link rel="stylesheet" href="../../static/iconfont/iconfont.css" >
    <link rel="stylesheet" href="../../static/frameset.css" >
</head>
<body>

    <div id="J_wrap" class="m_wrap m_box_v p_index none">
        <div class="m_top">
            <headers v-on:callback="headerHandle" :userobj.sync="userobj"></headers>
        </div>
        <div class="m_content m_flex1 m_box">
            <menunav index="finance" sub="monthly" :navobj.sync="userobj.group_acl"></menunav>
            <div class="container m_flex1">
                <ul class="breadcrumbs">
                    <li><span>财务管理</span>&gt;</li>
                    <li class="on">月度报表</li>
                </ul>
                <div class="m_search">
                    <input type="text" class="m_input m_time" placeholder="选择月份" v-model="month" onfocus="WdatePicker({dateFmt:'yyyy-MM'})">
                    <button class="m_btn line" v-on:click="reSearch">查询</button>
                    <button class="m_btn line" v-on:click="reset">重置</button>
                </div>
                <table class="m_table">
                    <thead>
                        <tr>
                            <th>日期</th>
                            <th>期初资金</th>
                            <th>入金总额</th>
                            <th>出金总额</th>
                            <th>交易总额</th>
                            <th>总手续费</th>
                            <th>交易手续费</th>
                            <th>转让手续费</th>
                            <th>申购手续费</th>
                            <th>待返佣金</th>
                            <th>平台盈利</th>
                            <th>用户资金</th>
                            <th>期末资金</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr v-if="list.length < 1">
                            <td colspan="13">
                                <div class="tc">
                                    <template v-if="search">没有符合条件的内容</template>
                                    <template v-else>暂无数据</template>
                                </div>
                            </td>
                        </tr>
                        <tr v-for="item in list" v-if="list.length > 0">
                            <td>{{ item.time }}</td>
                            <td>{{ item.begin_asset | markMoney }}</td>
                            <td>{{ item.total_deposit | markMoney }}</td>
                            <td>{{ item.total_withdraw | markMoney }}</td>
                            <td>{{ item.total_trade | markMoney }}</td>
                            <td>{{ item.total_fee | markMoney }}</td>
                            <td>{{ item.entrust_fee | markMoney }}</td>
                            <td>{{ item.reassign_fee | markMoney }}</td>
                            <td>{{ item.apply_fee | markMoney }}</td>
                            <td>{{ item.total_benefit | markMoney }}</td>
                            <td>{{ item.platform_profit | markMoney }}</td>
                            <td>{{ item.user_asset | markMoney }}</td>
                            <td>{{ item.end_asset | markMoney }}</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>


    <script src="../../js/plugins/zepto/zepto.min.js"></script>
    <script src="../../js/plugins/vue/vue.min.js"></script>
    <script src="../../js/plugins/seajs/sea.js"></script>
    <script src="../../js/plugins/seajs/seajs-text.js"></script>
    <script src="../../js/plugins/datePicker/WdatePicker.js"></script>

    <script>
        seajs.use( "../../js/page/finance/monthly" );
    </script>

</body>
</html>
